package com.weakteam.orderonline.adminconsole.bean;


import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author Nail
 */
public class ApplicationConfig implements InitializingBean {

    @Autowired(required=true)
    ImageStore imageStore;

    @Override
    public void afterPropertiesSet() throws Exception {
        this.imageStore.createStore();
    }


}
